package br.com.upper.business;

import java.util.List;

import br.com.upper.dao.TestResultDAO;
import br.com.upper.entity.TestResult;

public class TestResultBO implements ITestResultBO {

	private TestResultDAO testResultDAO;
	
	public TestResultBO() {
		this.testResultDAO = new TestResultDAO();
	}
	
	public void save(TestResult objeto) {
		this.testResultDAO.save(objeto);
	}
	
	public void delete(TestResult objeto) {
		this.testResultDAO.delete(objeto);
	}
	
	public TestResult findByID(Long id) {
		return this.testResultDAO.findByID(id);
	}
	
	public List<TestResult> findAll() {
		return this.testResultDAO.findAll();
	}
	
}
